package com.qingcloud.adminbackend.entity.sysfunction;

import com.qingcloud.base.remote.pojo.MenuDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@Data
public class FunctionVO implements Serializable {

    @ApiModelProperty(value = "id", example = "")
    private String id;
    /**
     * 权限名称
     */
    @ApiModelProperty(value = "权限名称", example = "")
    private String menuName;

    @ApiModelProperty(value = "权限名称", example = "")
    private String parentId;

    @ApiModelProperty(value = "访问地址", example = "")
    private String functionUrl;

    @ApiModelProperty(value = "子菜单列表", example = "")
    private List<FunctionVO> childList = Collections.EMPTY_LIST; //子菜单列表

    @ApiModelProperty(value = "是否是从自身身份来的功能条目", example = "1")
    private Integer roleFlag;

    @ApiModelProperty(value = "图标", example = "1")
    private String icon;
}
